package lt.vin.currency.server.dao;

import java.util.Date;
import java.util.List;

import lt.vin.currency.shared.Rate;
import lt.vin.currency.shared.Source;




public interface CurrencyDao {
	
	Rate get(String bankCode, Date date, String currency);
	
	List<Rate> get(String bankCode, Date date);
	
	List<Rate> get(String bankCode);
	
	List<Rate> get(Date date);
	
	void save(Source rate);
	
	void save(List<Rate> rates);
	
	Source getSource(String bankCode);

	List<Source> getSources();
}
